﻿package 
{
	import engine.Block;
	import flash.display.Sprite;
	import flash.events.Event;
	
	/**
	$(CBI)* ...
	$(CBI)* @author Akinon
	$(CBI)*/
	public class Main extends Sprite 
	{
		
		public function Main():void 
		{
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event = null):void 
		{
			removeEventListener(Event.ADDED_TO_STAGE, init);
			// entry point
			
			test();
		}
		
		private function test():void
		{
			/*
			var block:Block = new Block();
			trace(Math.floor(block.getVolume()/1000));
			*/
			var vehicle:Vehicle = new Vehicle();
			
		}
		
	}
	
}